<%@ page import="com.taskcollection.bean.StudentBean" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/7/24 0024
  Time: 上午 8:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    StudentBean stu = (StudentBean)request.getSession().getAttribute("学生");
    String name="";
    if(stu==null){
        response.sendRedirect(request.getContextPath()+"/login/login.jsp");
    }else{
        name = stu.getStudent_name();
    }
%>
<link href="<%=ctxPath%>/static/inc/nav/css/nav.css" rel="stylesheet" />
<nav class="nav">
    <div class="Logo">
        <ul>
            <li><a href="<%=ctxPath%>/student/homepage.jsp" class="active">返回首页</a></li>
            <li><a href="<%=ctxPath%>/student/projectReport.jsp">申报项目</a></li>
            <li><a href="<%=ctxPath%>/student/project.jsp">项目查看</a></li>
            <li><a href="<%=ctxPath%>/student/projectProgress.jsp">项目进度</a></li>
        </ul>
        <div class="welcome">
            <a href="javascript:void (0)"><%=name%></a> 同学，欢迎你&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="<%=ctxPath%>/student/logout.jsp">退出登录</a>
        </div>
    </div>
</nav>

